package Com.amit.innerclas;

public class Lab1 {

	private int data=20;
	
	void m1()
	{
		class Local
		{
			void msg()
			{
				System.out.println(data);
			}
		}
		
		Local l1=new Local();
		l1.msg();
	}

	public static void main(String[] args)
	{
		Lab1 l=new Lab1();
		l.m1();
		
	}
}
